n = 1
while n**3 <= 12000: n += 1
print(n-1)